package com.example.android.ouactivity.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;
import com.example.android.ouactivity.R;
import com.example.android.ouactivity.utils.CircleImageView;

/**
 * Created by 庆 on 2016/11/16.
 */

public class CommentHolder extends RecyclerView.ViewHolder {
    public CircleImageView userImage;//用户头像
    public TextView userName;//用户名
    public TextView date;//回复时间
    public TextView comment;//被回复的评论
    public TextView content;//回复的内容

    public CommentHolder(View itemView) {
        super(itemView);
        userImage = (CircleImageView)itemView.findViewById(R.id.comm_rep_img);
        userName = (TextView)itemView.findViewById(R.id.comm_rep_name);
        date = (TextView)itemView.findViewById(R.id.comm_rep_date);
        comment = (TextView)itemView.findViewById(R.id.comm_rep_com);
        content = (TextView)itemView.findViewById(R.id.comm_rep_con);
    }
}
